package cn.beans;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Product implements java.io.Serializable {

	// Fields

	private String id;
	private String title;
	private Double price;
	private String price1;
	private String introduction;
	private String content;
	private String creAdminId;
	private String creAdminName;
	private Date creDate;
	private String lastEditorId;
	private String lastEditorName;
	private Date lastEditDate;
	private String isHot;
	private String isNew;
	private ProductCategory category;
	private Set productFiles = new HashSet(0);
	private String offertime;
	private String days;
	private Integer pictures;
	private String productid;
	private String ispromote;
	private String fathername;
	//品牌
	private String brand ;
	//图片
	private String img;
	private String imguuid;
	//浏览量
	private Integer pv;
	//产品尺寸
	private String productsize;
	//包装规格
	private String specification;
	//产品执行标准
	private String standard;
	//型号规格
	private String bspecification;
	//重量
	private String weight;
	//颜色
	private String color;
	//材质
	private String material;
	//主题关键词
	private String keyword ;
	
	private String categoryId;  
	
	// Constructors

	/** default constructor */
	public Product() {
	}

	/** full constructor */
	public Product(String title, Double price, String price1,String introdiction, String content, 
			String creAdminId, String creAdminName, Date creDate, String lastEditorId,
			String lastEditorName, Date lastEditDate, String isHot,
			String isNew, ProductCategory category ,Set productFiles,String offertime,String days,Integer pictures, String productid,String ispromote,String fathername,String brand,
			String img,String imguuid,int pv,String productsize,String specification ,String standard ,String bspecification,
			String weight,String color,String material,String keyword, String categoryId
		) {
		this.title = title;
		this.price = price;
		this.price1 = price1;
		this.introduction = introdiction;
		this.content = content;
		this.creAdminId = creAdminId;
		this.creAdminName = creAdminName;
		this.creDate = creDate;
		this.lastEditorId = lastEditorId;
		this.lastEditorName = lastEditorName;
		this.lastEditDate = lastEditDate;
		this.isHot = isHot;
		this.isNew = isNew;
		this.category = category;
		this.productFiles = productFiles;
		this.offertime = offertime;
		this.days = days;
		this.pictures = pictures;
		this.productid = productid;
		this.ispromote = ispromote;
		this.fathername = fathername;
		this.brand = brand;
		this.img = img;
		this.imguuid = imguuid;
		this.pv = pv;
		this.productsize = productsize;
		this.specification = specification;
		this.standard = standard;
		this.bspecification = bspecification;
		this.weight = weight;
		this.color = color;
		this.material = material;
		this.keyword = keyword;
		this.categoryId = categoryId;
	}

	
	// Property accessors
	
	

	public Integer getPv() {
		return pv;
	}

	public String getBspecification() {
		return bspecification;
	}

	public void setBspecification(String bspecification) {
		this.bspecification = bspecification;
	}

	public void setPv(Integer pv) {
		this.pv = pv;
	}

	public String getProductsize() {
		return productsize;
	}

	public void setProductsize(String productsize) {
		this.productsize = productsize;
	}

	public String getSpecification() {
		return specification;
	}

	public void setSpecification(String specification) {
		this.specification = specification;
	}

	

	public String getStandard() {
		return standard;
	}

	public void setStandard(String standard) {
		this.standard = standard;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getIntroduction() {
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getCreAdminId() {
		return this.creAdminId;
	}

	public void setCreAdminId(String creAdminId) {
		this.creAdminId = creAdminId;
	}

	public String getCreAdminName() {
		return this.creAdminName;
	}

	public void setCreAdminName(String creAdminName) {
		this.creAdminName = creAdminName;
	}

	public Date getCreDate() {
		return this.creDate;
	}

	public void setCreDate(Date creDate) {
		this.creDate = creDate;
	}

	public String getLastEditorId() {
		return this.lastEditorId;
	}

	public void setLastEditorId(String lastEditorId) {
		this.lastEditorId = lastEditorId;
	}

	public String getLastEditorName() {
		return this.lastEditorName;
	}

	public void setLastEditorName(String lastEditorName) {
		this.lastEditorName = lastEditorName;
	}

	public Date getLastEditDate() {
		return this.lastEditDate;
	}

	public void setLastEditDate(Date lastEditDate) {
		this.lastEditDate = lastEditDate;
	}

	public String getIsHot() {
		return this.isHot;
	}

	public void setIsHot(String isHot) {
		this.isHot = isHot;
	}

	public String getIsNew() {
		return this.isNew;
	}

	public void setIsNew(String isNew) {
		this.isNew = isNew;
	}

	public ProductCategory getCategory() {
		return category;
	}

	public void setCategory(ProductCategory category) {
		this.category = category;
	}

	public Set getProductFiles() {
		return productFiles;
	}

	public void setProductFiles(Set productFiles) {
		this.productFiles = productFiles;
	}

	public String getOffertime() {
		return offertime;
	}

	public void setOffertime(String offertime) {
		this.offertime = offertime;
	}

	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getIspromote() {
		return ispromote;
	}

	public void setIspromote(String ispromote) {
		this.ispromote = ispromote;
	}

	public String getFathername() {
		return fathername;
	}

	public void setFathername(String fathername) {
		this.fathername = fathername;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getImguuid() {
		return imguuid;
	}

	public void setImguuid(String imguuid) {
		this.imguuid = imguuid;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public String getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getPrice1() {
		return price1;
	}

	public void setPrice1(String price1) {
		this.price1 = price1;
	}

	public String getDays() {
		return days;
	}

	public void setDays(String days) {
		this.days = days;
	}

	public Integer getPictures() {
		return pictures;
	}

	public void setPictures(Integer pictures) {
		this.pictures = pictures;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}


	
}